package com.yunsc.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yunsc.product.dto.SpecListDTO;
import com.yunsc.product.entity.YunscGoodsSpecRelEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品与规格值关系记录表
 * 
 * @author adan
 * @email 2028038953@qq.com
 * @date 2024-04-04 21:28:43
 */
@Mapper
public interface YunscGoodsSpecRelDao extends BaseMapper<YunscGoodsSpecRelEntity> {

    List<SpecListDTO> querySpecListByGoodsId(@Param("goodsId") Integer goodsId);
}
